// 文件路径src\router\modules\{{ .FileController }}\{{ .Name }}.js
// 导入路径  import {{ .Name }} from '@/router/modules/{{ .FileController }}/{{ .Name }}'
const Layout = () => import('@/layout/index.vue')
export default {
    path: '/{{ .Name }}',
    component: Layout,
    redirect: '/{{ .Name }}/list',
    name: '{{ .Name }}',
    meta: {
        title: '{{ .Label }}'
    },
    children: [
        {
            path: 'list',
            name: '{{ .Name }}List',
            component: () => import('@/views/admin/{{.FileServer }}/{{.Name }}/list.vue'),
            meta: {
                title: '{{ .Label }}列表',
                sidebar: false
            }
        }
    ]
}